package codetop.microsoft.T337;

import util.TreeNode;
import util.TreeUtil;

/**
 * @Author: 18362
 * @Create: 2022-08-15 14:28:59 星期一
 */
public class M337 {
    public static void main(String[] args) {
        TreeNode root = TreeUtil.deserialize("[3,4,5,1,3,null,1]");
        System.out.println(new Solution().rob(root));
    }
}
